import request from '../request'

const Api = {
  page: '/api/project/cbhsya/page',
  save: '/api/project/cbhsya/saveOrUpdate',
  remove: '/api/project/cbhsya/remove',
}

export const page = data => {
  return request.request({
    url: Api.page,
    params: data,
    method: 'GET'
  })
}

export const save = data => {
  return request.request({
    url: Api.save,
    data: data,
    method: 'POST'
  })
}

export const remove = data => {
  return request.request({
    url: Api.remove,
    params: data,
    method: 'DELETE'
  })
}
